package com.ys.code.generator.core.vo;

import java.io.Serializable;
import java.util.List;

/**
 * 返回数据
 * @author liuwenjun1
 *
 */
public class SimpleVo<T> implements Serializable{
	
	private String code;//代码100成功 101失败
	private String message;//返回信息
	
	private List<T> datas;
	
	public SimpleVo(String code, String message) {
		this.code = code;
		this.message = message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public List<T> getDatas() {
		return datas;
	}
	public void setDatas(List<T> datas) {
		this.datas = datas;
	}
	

}
